home *** CD-ROM | disk | FTP | other *** search
- In reply to msg from ssullivan@opal.tufts.edu :
- >Every time that I log out from WSArchie, I get the following error
- >message:
- >Error: WSAENOTSOCK (65535) by WSArchie on my Trumpet winsock
- > and it doesn't seem to cause problems with the Winsock, but it's
- >still a little unsettling. Any ideas what's happening here?
-
- Its just a "closesocket(socket)" when the socket = INVALID_SOCKET
-
- This doesn't do anything bad to the stack and is a valid call. Usually
- done by an overly cautious programmer who it taking a (usually)
- unnecessary step to insure the program exits cleanly. It could be
- avoided by a
-
- if(socket!=INVALID_SOCKET)
- closesocket(socket);
-
- (I do it myself depending on the exit from WS_FTP, WS_GMAIL,etc..)
-
- John
-
-
- +-----------------------+-------------------------------------+
- | John A. Junod | 72321.366@compuserve.com |
- | 267 Hillwood Street | --> junodj@css583.gordon.army.mil |
- | Martinez, GA, 30907 | zj8549@trotter.usma.edu |
- | (706)-860-2671 | |
- +---------------------(sent by WS_GMAIL)----------------------+
-
-